package cn.sumpu.app.guoguojie.domain;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;


import cn.sumpu.toolkit.common.util.Common;

import com.taobao.api.domain.ItemImg;

public class DoingProduct implements java.io.Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = -2850643658187048248L;
	
	private String identifier;
	private String doing;
	private String member;
	private String family;
	private String name;
	private String picUrl;
	private Double price;
	private String linkUrl;
	private String from;
	private String imageServer;
	private String picThumb;
	private Date gmtCreated;
	private Date gmtModified;
	private Integer width200xxx;
	private Integer height200xxx;
	private Double maxPrice;
	private String status;
	private String originalId;
	private String subscribe;
	private Double commission;
	private String sellerNick;
	private Double guoguojieCommissionRate;
	
	
	private Integer viewAmount;
	
	private DoingProductTime doingProductTime;
	//抓商品时的返回结果
	private String result;
	//抓商品时的图片列表
    private List<ItemImg> imgs = new ArrayList<ItemImg>();
	
    public String getSellerNick() {
        return sellerNick;
    }
    public void setSellerNick(String sellerNick) {
        this.sellerNick = sellerNick;
    }
    public Double getGuoguojieCommissionRate() {
        return guoguojieCommissionRate;
    }
    public void setGuoguojieCommissionRate(Double guoguojieCommissionRate) {
        this.guoguojieCommissionRate = guoguojieCommissionRate;
    }
    public Double getCommission() {
        return commission;
    }
    public void setCommission(Double commission) {
        this.commission = commission;
    }
    public String getSubscribe() {
        return subscribe;
    }
    public void setSubscribe(String subscribe) {
        this.subscribe = subscribe;
    }
    public Double getMaxPrice() {
        return maxPrice;
    }
    public void setMaxPrice(Double maxPrice) {
        this.maxPrice = maxPrice;
    }
    public String getStatus() {
        return status;
    }
    public void setStatus(String status) {
        this.status = status;
    }
    public String getOriginalId() {
        return originalId;
    }
    public void setOriginalId(String originalId) {
        this.originalId = originalId;
    }
    public Integer getWidth200xxx() {
		return width200xxx;
	}
	public void setWidth200xxx(Integer width200xxx) {
		this.width200xxx = width200xxx;
	}
	public Integer getHeight200xxx() {
		return height200xxx;
	}
	public void setHeight200xxx(Integer height200xxx) {
		this.height200xxx = height200xxx;
	}
	public String getIdentifier() {
		return identifier;
	}
	public void setIdentifier(String identifier) {
		this.identifier = identifier;
	}
	public String getDoing() {
		return doing;
	}
	public void setDoing(String doing) {
		this.doing = doing;
	}
	
	public String getMember() {
		return member;
	}
	public void setMember(String member) {
		this.member = member;
	}
	public String getFamily() {
		return family;
	}
	public void setFamily(String family) {
		this.family = family;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPicUrl() {
		return picUrl;
	}
	public void setPicUrl(String picUrl) {
		this.picUrl = picUrl;
	}
	public Double getPrice() {
		return price;
	}
	public void setPrice(Double price) {
		this.price = price;
	}
	public String getLinkUrl() {
		return linkUrl;
	}
	public void setLinkUrl(String linkUrl) {
		this.linkUrl = linkUrl;
	}
	public String getFrom() {
		return from;
	}
	public void setFrom(String from) {
		this.from = from;
	}
	
	public String getImageServer() {
		return imageServer;
	}
	public void setImageServer(String imageServer) {
		this.imageServer = imageServer;
	}
	public String getPicThumb() {
		return picThumb;
	}
	public void setPicThumb(String picThumb) {
		this.picThumb = picThumb;
	}
	public Date getGmtCreated() {
		return gmtCreated;
	}
	public void setGmtCreated(Date gmtCreated) {
		this.gmtCreated = gmtCreated;
	}
	public Date getGmtModified() {
		return gmtModified;
	}
	public void setGmtModified(Date gmtModified) {
		this.gmtModified = gmtModified;
	}
    public String getResult() {
        return result;
    }
    public void setResult(String result) {
        this.result = result;
    }
    public List<ItemImg> getImgs() {
        return imgs;
    }
    public void setImgs(List<ItemImg> imgs) {
        this.imgs = imgs;
    }
    public String getShowName(){
        if(name!=null && name.length()>28){
            name = Common.filterHtml(name).substring(0, 28);
        }
        return name;
    }
    public Integer getViewAmount() {
        return viewAmount;
    }
    public void setViewAmount(Integer viewAmount) {
        this.viewAmount = viewAmount;
    }
    public DoingProductTime getDoingProductTime() {
        return doingProductTime;
    }
    public void setDoingProductTime(DoingProductTime doingProductTime) {
        this.doingProductTime = doingProductTime;
    }
    
	
}
